public class Work81202 {
    public static void main(String[] args) {
        int[]a=new int[31];
        int b=1;
        for (int i=0;i<a.length;i++){
            for (int c=1;c<=i;c++){
                b*=2;
            }
            a[i]=b;
            b=1;
        }
        for (int n:a){
            System.out.println(n);
        }
    }
}
